﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace UserControlMenu
{
    public partial class LinksMenu : System.Web.UI.UserControl
    {
        List<Site> sites = new List<Site>() { 
                new Site { Name = "ABV", Url = "http://www.abv.bg" }, 
                new Site { Name = "DIR", Url = "http://www.dir.bg" }
            };

        protected void Page_Load(object sender, EventArgs e)
        {
            MenuDataList.DataSource = sites;
        }
    }
}